package com.ruoyi.jiuzai.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 物资回收对象 wuzihuisou
 * 
 * @author ruoyi
 * @date 2025-06-25
 */
public class Wuzihuisou extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long hId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long yId;

    /** 单据号 */
    @Excel(name = "单据号")
    private String hDanhao;

    /** 入库仓库 */
    @Excel(name = "入库仓库")
    private String hCangku;

    /** 入库日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入库日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date hShijian;

    /** 仓库 */
    @Excel(name = "仓库")
    private Long kuId;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date shenheDate;

    /** 审核人员 */
    @Excel(name = "审核人员")
    private String shenheUser;

    /** 审核备注 */
    @Excel(name = "审核备注")
    private String shenheBeizhu;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private Long shenheZhuangtai;


    /** 仓库 */
    @Excel(name = "仓库")
    private Cangku cangku;

    /** 角色 */
    @Excel(name = "角色")
    private Table12 table12;

    /** 报废明细 */
    @Excel(name = "报废明细")
    private  Baofeimingxi baofeimingxi;

    public void sethId(Long hId) 
    {
        this.hId = hId;
    }

    public Long gethId() 
    {
        return hId;
    }

    public void setyId(Long yId) 
    {
        this.yId = yId;
    }

    public Long getyId() 
    {
        return yId;
    }

    public void sethDanhao(String hDanhao) 
    {
        this.hDanhao = hDanhao;
    }

    public String gethDanhao() 
    {
        return hDanhao;
    }

    public void sethCangku(String hCangku) 
    {
        this.hCangku = hCangku;
    }

    public String gethCangku() 
    {
        return hCangku;
    }

    public void sethShijian(Date hShijian) 
    {
        this.hShijian = hShijian;
    }

    public Date gethShijian() 
    {
        return hShijian;
    }

    public void setKuId(Long kuId) 
    {
        this.kuId = kuId;
    }

    public Long getKuId() 
    {
        return kuId;
    }

    public void setShenheDate(Date shenheDate) 
    {
        this.shenheDate = shenheDate;
    }

    public Date getShenheDate() 
    {
        return shenheDate;
    }

    public void setShenheUser(String shenheUser) 
    {
        this.shenheUser = shenheUser;
    }

    public String getShenheUser() 
    {
        return shenheUser;
    }

    public void setShenheBeizhu(String shenheBeizhu) 
    {
        this.shenheBeizhu = shenheBeizhu;
    }

    public String getShenheBeizhu() 
    {
        return shenheBeizhu;
    }

    public void setShenheZhuangtai(Long shenheZhuangtai) 
    {
        this.shenheZhuangtai = shenheZhuangtai;
    }

    public Long getShenheZhuangtai() 
    {
        return shenheZhuangtai;
    }

    public Cangku getCangku() {
        return cangku;
    }

    public void setCangku(Cangku cangku) {
        this.cangku = cangku;
    }

    public Table12 getTable12() {
        return table12;
    }

    public void setTable12(Table12 table12) {
        this.table12 = table12;
    }

    public Baofeimingxi getBaofeimingxi() {
        return baofeimingxi;
    }

    public void setBaofeimingxi(Baofeimingxi baofeimingxi) {
        this.baofeimingxi = baofeimingxi;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("hId", gethId())
            .append("yId", getyId())
            .append("hDanhao", gethDanhao())
            .append("hCangku", gethCangku())
            .append("hShijian", gethShijian())
            .append("kuId", getKuId())
            .append("shenheDate", getShenheDate())
            .append("shenheUser", getShenheUser())
            .append("shenheBeizhu", getShenheBeizhu())
            .append("shenheZhuangtai", getShenheZhuangtai())
                .append("cangku", getCangku())
                .append("table12", getTable12())
                .append("baofeimingxi", getBaofeimingxi())
            .toString();
    }
}
